package com.spm.pojo;

import java.io.Serializable;

public class Grade implements Serializable {
    //课程号
    private String cno;
    //课程名
    private String cName;
    //任课老师
    private String tName;
    //平时成绩
    private String dailyScore;
    //期末成绩
    private String finalScore;
    //总成绩
    private String score;


    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public String getScorne() {
        return score;
    }

    public void setScorne(String scorne) {
        this.score = scorne;
    }

    public Grade() {

    }
    public Grade(String cno,String dailyScore, String finalScore) {
        this.cno = cno;
        this.dailyScore = dailyScore;
        this.finalScore = finalScore;
    }
    public Grade(String cno, String cName, String tName, String dailyScore, String finalScore, String score) {
        this.cno = cno;
        this.cName = cName;
        this.tName = tName;
        this.dailyScore = dailyScore;
        this.finalScore = finalScore;
        this.score = score;
    }

    public String getCno() {
        return cno;
    }

    public void setCno(String cno) {
        this.cno = cno;
    }

    public String getCName() {
        return cName;
    }

    public void setCName(String cName) {
        this.cName = cName;
    }

    public String getTName() {
        return tName;
    }

    public void setTName(String tName) {
        this.tName = tName;
    }

    public String getDailyScore() {
        return dailyScore;
    }

    public void setDailyScore(String dailyScore) {
        this.dailyScore = dailyScore;
    }

    public String getFinalScore() {
        return finalScore;
    }

    public void setFinalScore(String finalScore) {
        this.finalScore = finalScore;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "Grade{" +
                "cno='" + cno + '\'' +
                ", cName='" + cName + '\'' +
                ", tName='" + tName + '\'' +
                ", dailyScore='" + dailyScore + '\'' +
                ", finalScore='" + finalScore + '\'' +
                ", score='" + score + '\'' +
                '}';
    }
}
